package com.baitiaojun.api.vo;

import java.util.HashMap;

/**
 * @类名 VideoLikeInfo
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/22 15:07
 * @版本 1.0
 */
public class LikeCoinOperatedCollectedInfo extends HashMap<String, Object> {

    public LikeCoinOperatedCollectedInfo(Integer count, String key, boolean flag) {
        super.put("count", count);
        super.put(key, flag);
    }

    public static LikeCoinOperatedCollectedInfo.VideoLikeInfoBuilder builder() {
        return new VideoLikeInfoBuilder();
    }

    public static class VideoLikeInfoBuilder {

        private Integer count;

        private boolean flag;

        private String key;

        public VideoLikeInfoBuilder count(Integer count) {
            this.count = count;
            return this;
        }

        public VideoLikeInfoBuilder flag(String key, boolean flag) {
            this.key = key;
            this.flag = flag;
            return this;
        }

        public LikeCoinOperatedCollectedInfo build() {
            return new LikeCoinOperatedCollectedInfo(count, key, flag);
        }
    }
}
